/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', sans-serif;
}

body {
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 主题颜色 */
:root {
  --primary-color: #e75480;
  --primary-light: #f8e1e7;
  --secondary-color: #333;
  --text-color: #333;
  --text-light: #666;
  --background-color: #fafafa;
  --white: #ffffff;
  --border-color: #eee;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 通用按钮样式 */
.btn-primary {
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #d64d7b;
}

.btn-outline {
  padding: 0.8rem 1.5rem;
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* 渐变背景工具类 */
.gradient-bg-left-right {
  background: linear-gradient(to right, #D693A1, #E2F5FF);
}

.gradient-bg-top-bottom {
  background: linear-gradient(to bottom, #D693A1, #E2F5FF);
}

.gradient-bg-right-left {
  background: linear-gradient(to left, #D693A1, #E2F5FF);
}

.gradient-bg-bottom-top {
  background: linear-gradient(to top, #D693A1, #E2F5FF);
}

.gradient-bg-topleft-bottomright {
  background: linear-gradient(to bottom right, #D693A1, #E2F5FF);
}

.gradient-bg-topright-bottomleft {
  background: linear-gradient(to bottom left, #D693A1, #E2F5FF);
}

.gradient-bg-bottomleft-topright {
  background: linear-gradient(to top right, #D693A1, #E2F5FF);
}

.gradient-bg-bottomright-topleft {
  background: linear-gradient(to top left, #D693A1, #E2F5FF);
}

.gradient-bg-radial {
  background: radial-gradient(circle, #E2F5FF, #D693A1);
}

/* 半透明内容容器 */
.translucent-container {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式工具类 */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}